@layout("/common/_form.html",{js:["/assets/home/homePage_edit.js"]}){

<form class="layui-form" id="homePageForm" lay-filter="homePageForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">标题</label>
                        <div class="layui-input-block">
                            <input id="title" name="title" placeholder="" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">跳转路径<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="linkUrl" name="linkUrl" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <!--<div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">图片路径<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="imageUrl" name="imageUrl" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">图文<!--<span style="color: red;">*</span>--></label>
                        <div class="layui-input-block">
                            <div class="layui-upload">
                                <button type="button" class="layui-btn" id="imageUrl">上传图片</button>
                                <div class="layui-upload-list">
                                    <img class="layui-upload-img" style="height: 100px;width: 100px"
                                         id="imageUrlPreview">
                                    <input type="hidden" name="imageUrl" id="imageUrlInputId">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--<div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">操作类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="type" name="type" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">操作类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="type" lay-verify="required">
                                <option value=""></option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">状态 </label>
                        <div class="layui-input-block">
                            <input type="radio" name="status" value="1" title="启用" checked>
                            <input type="radio" name="status" value="2" title="禁用">
                        </div>
                    </div>
                    <!--<div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">0.正常,1.删除<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="deleteFlag" name="deleteFlag" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>-->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn layui-btn-sm" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}